/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package InternetHax;

/**
 * A collection of various constant values used throughout the program.
 * @author LoginError
 */
public class Constants {
    //j2me needs enums :P
    
    //Possible game states
    public static final short STATE_ERROR = 0;
    public static final short STATE_AITURN = 1;
    public static final short STATE_PLAYERTURN = 2;
    public static final short STATE_GAMEOVER = 3;
    public static final short STATE_DEBUG_CURSOR = 4;
    public static final short STATE_DIRECTION_MENU = 5;
    public static final short STATE_STARTUP = 6;
    public static final short STATE_SHUTDOWN = 7;
    public static final short STATE_LOADING = 8;

    
    /** directions **/
    public static final short DIRECTION_NONE = -1;
    public static final short DIRECTION_UP = 0;
    public static final short DIRECTION_LEFT = 1;
    public static final short DIRECTION_DOWN = 2;
    public static final short DIRECTION_RIGHT = 3;
    public static final short DIRECTION_UP_RIGHT = 4;
    public static final short DIRECTION_UP_LEFT = 5;
    public static final short DIRECTION_DOWN_RIGHT = 6;
    public static final short DIRECTION_DOWN_LEFT = 7;
    public static final short DIRECTION_CENTER = 8;
    
    //-------APP TYPES---------

    public static final short APPTYPE_ACTIVE = 100;
    public static final short APPTYPE_CONSUMABLE = 200;
    public static final short APPTYPE_PASSIVE = 300;
    public static final short APPTYPE_MOVEMENT = 400;
    public static final short APPTYPE_LOGIC = 500;
    
    // TILES
    public static final byte TILESIZE_IN_PIXELS = 16;
    public static final byte TILESIZE_HALF = 8;
    public static final byte TILE_UNPASSABLE = 127;
    public static final byte TILE_CORRUPTED_SPACE = 126;
    public static final byte TILE_CORRUPTED_FLOOR = 125;
    public static final byte TILE_PATH_DEBUG = 1;
    public static final byte TILE_PATH_DEBUG2 = 1;
    public static final byte TILE_PLAYER_START = 5;
    public static final byte TILE_PLAYER_GOAL = 4;
    public static final byte TILE_DEBUG_ROOM_CENTER = 2;
    public static final byte TILE_FLOOR = 1;
    public static final byte TILE_ERROR = 0;

    //Active Apps
    public static final short APP_ERROR = 0;
    public static final short APP_SIMPLEPUNCH = 101;
    public static final short APP_DEBUGSHOTGUN = 102;
    public static final short APP_LASERGUN = 103;
    public static final short APP_MAC_BOMB = 104;
    public static final short APP_SHOTWEB = 105;
    public static final short APP_SELFDESTRUCT = 106;
    public static final short APP_TAZER = 107;

    //Consumable Apps
    public static final short APP_HEALPACK = 201;
    public static final short APP_RECHARGE = 202;

}
